home *** CD-ROM | disk | FTP | other *** search
/ Aminet 39 / Aminet 39 (2000)(Schatztruhe)[!][Oct 2000].iso / Aminet / dev / c / MPEGAPPCdev.lha / MPEGAPPCdev / PPCInclude / powerup / ppcinline / mpega.h
Encoding:
C/C++ Source or Header  |  2000-07-17  |  1.7 KB  |  43 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _PPCINLINE_MPEGA_H
  4. #define _PPCINLINE_MPEGA_H
  5.  
  6. #ifndef __PPCINLINE_MACROS_H
  7. #include <powerup/ppcinline/macros.h>
  8. #endif /* !__PPCINLINE_MACROS_H */
  9.  
  10. #ifndef MPEGA_BASE_NAME
  11. #define MPEGA_BASE_NAME MPEGABase
  12. #endif /* !MPEGA_BASE_NAME */
  13.  
  14. #define MPEGA_open(stream_name, ctrl) \
  15.     LP2(0x1e, MPEGA_STREAM *, MPEGA_open, char *, stream_name, a0, MPEGA_CTRL *, ctrl, a1, \
  16.     , MPEGA_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  17.  
  18. #define MPEGA_close(mpds) \
  19.     LP1NR(0x24, MPEGA_close, MPEGA_STREAM *, mpds, a0, \
  20.     , MPEGA_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  21.  
  22. #define MPEGA_decode_frame(mpds, pcm) \
  23.     LP2(0x2a, LONG, MPEGA_decode_frame, MPEGA_STREAM *, mpds, a0, WORD **, pcm, a1, \
  24.     , MPEGA_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  25.  
  26. #define MPEGA_seek(mpds, ms_time_position) \
  27.     LP2(0x30, LONG, MPEGA_seek, MPEGA_STREAM *, mpds, a0, ULONG, ms_time_position, d0, \
  28.     , MPEGA_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  29.  
  30. #define MPEGA_time(mpds, ms_time_position) \
  31.     LP2(0x36, LONG, MPEGA_time, MPEGA_STREAM *, mpds, a0, ULONG *, ms_time_position, a1, \
  32.     , MPEGA_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  33.  
  34. #define MPEGA_find_sync(buffer, buffersize) \
  35.     LP2(0x3c, LONG, MPEGA_find_sync, BYTE *, buffer, a0, LONG, buffersize, d0, \
  36.     , MPEGA_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  37.  
  38. #define MPEGA_scale(mpds, scale_percent) \
  39.     LP2(0x42, LONG, MPEGA_scale, MPEGA_STREAM *, mpds, a0, LONG, scale_percent, d0, \
  40.     , MPEGA_BASE_NAME, IF_CACHEFLUSHALL, NULL, 0, IF_CACHEFLUSHALL, NULL, 0)
  41.  
  42. #endif /* !_PPCINLINE_MPEGA_H */
  43.